<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>类选择器</title>
		<style type="text/css">
			.txt{
				border: 1px dashed gray;
				background-color: #FEDCBA;
				color: blue;
				height: 20px;
			}
			
			.btn{
				border: 1px solid blue;
				background-color: #cccccc;
				color: red;
				font-weight: bold;
			}
		</style>
	</head>
	<body>
		<form>
			<input type="text" class="txt" />
			<input type="password" class="txt" /><br />
			<input type="submit" class="btn" />
			<input type="reset" class="btns" />
		</form>
	</body>
</html>
